package cn.gene.timeyan.pojo.valid.security.dto;

import lombok.Data;

/**
 * 用户名密码登录传参*
 *
 * @author LWG
 * @date 2022/9/5 12:36
 * @since 1.0.0 @gene.cn
 */
@Data
public class UserPassswordLoginDTO {
    //用户名
    private String username;
    //用户密码
    private String password;
    //    @ApiModelProperty(value = "state随机号防止csrf攻击", name = "state", example = "state")
    private String state;
    //    @ApiModelProperty(value = "客户端登录ip,后台填写", name = "ip", example = "127.0.0.1",required = false)
    private String ip;
    //    @ApiModelProperty(value = "用户代理,后台填写", name = "userAgent", example = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Safari/605.1.15",required = false)
    private String userAgent;
}
